<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>div 遮罩层 弹窗</title>
<style type="text/css">
#Layer1 {
	height: 250px;
	width: 450px;
	border: 5px solid #999;
	margin-right: auto;
	margin-left: auto;
	z-index: 50;
	display: none;
	position: relative;
	background-color: #FFF;
}
#Layer1 #win_top {
	height: 30px;
	width: 450px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	line-height: 30px;
	color: #666;
	font-family: "微软雅黑", Verdana, sans-serif, "宋体";
	font-weight: bold;
	text-indent: 1em;
}
#Layer1 #win_top a {
	float: right;
	margin-right: 5px;
}
#shade {
	background-color:#000;
	position:absolute;
	z-index:49;
	display:none;
	width:100%;
	height:100%;
	opacity:0.6;
	filter: alpha(opacity=60);
	-moz-opacity: 0.6;
	margin: 0px;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
}
#Layer1 .content {
	margin-top: 5px;
	margin-right: 30px;
	margin-left: 30px;
}
body {
}
</style>
</head>

<body>
<div id="shade"></div>
<a href="#" onClick="shade.style.display='block';Layer1.style.display='block'">打开</a> <br />
<br />
<br />
<br />
<div id="Layer1">
  <div id="win_top">云代码 - 我的个人代码库 <a href="#" onClick="shade.style.display='none';Layer1.style.display='none'">关闭</a></div>
  <br />
  <div class="content"><a href="http://yuncode.net" target="_blank">http://yuncode.net</a></div>
</div>
</body>
</html>


<div class="content-detail">
				<div class="detail-img">
					<div id="show-img">
						<!-- <img src="img/tim.jpg" id="largerimg" width="400" height="400"/> -->
					</div>
				</div>
				<div class="detail-list">
					<div id="show-list">
					<h3 id="safetitle">大奖赛卡拉胶抵抗力撒娇了靠的就是卡了</h3><br/>
					<span class="spandetail">沙发主人：</span><span class="spanvalue" id="safehost">崔健</span>
					<span class="spandetail" id="safetypeid">沙发类型：</span><span class="spanvalue" id="safetype">我有地板</span><br/>
					<span class="spandetail">沙发坐标：</span><span class="spanvalue" id="safeaddress">北京-西城区-紫禁城</span><br/>
					<span class="spandetail">最大接待数：</span><span class="spanvalue" id="safemixper">3人</span>
					<span class="spandetail" id="safetimeid">最长接待时间：</span><span class="spanvalue" id="safetime">10天</span><br/>
					<span class="spandetail">性别限制：</span><span class="spanvalue" id="safesex">不限</span>
					<span class="spandetail" id="safeageid">年龄限制：</span><span class="spanvalue" id="safeage">20-25</span><br/>
					<span class="spandetail">QQ/邮箱：</span><span class="spanvalue" id="safeqq">494730414</span><br/>
					<span class="spandetail">联系方式：</span><span class="spanvalue" id="safetel">13113131313</span><br/>
					<span class="spandetail">沙发物品：</span><span class="spanvalue" id="safegoods">哈哈|哈哈|狗狗</span><br/>
					<span class="spandetail">说明：</span><span class="spanvalue" id="saferemark">阿斯顿法国和健康</span><br/>
					<input type="button" id="reserversub"  value="预约入住"/>
					</div>
				</div>
			</div>